//
//  YGPrescriptionModel.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/4/30.
//

#import "JSONModel.h"
@protocol YGParamesModel,YGgoodsModel,YGgoodsParamesModel;
NS_ASSUME_NONNULL_BEGIN

@interface YGPrescriptionModel : JSONModel

@property (nonatomic, strong) NSString  *diseaseName;
@property (nonatomic, strong) NSString  *id;
@property (nonatomic, assign) NSInteger  isPregnancy;
@property (nonatomic, assign) NSInteger  cart;
@property (nonatomic, assign) NSInteger  bmi;

@property (nonatomic, strong) NSArray <YGParamesModel > *parames;

@end

NS_ASSUME_NONNULL_END


@interface YGParamesModel : JSONModel
@property (nonatomic, strong) NSString  *name;
@property (nonatomic, assign) NSInteger  isChoice;
@property (nonatomic, strong) NSString  *id;
@property (nonatomic, strong) NSArray  <YGgoodsModel > *goodsInfo;
@property (nonatomic, assign) BOOL  isShow;

@end

@interface YGgoodsModel : JSONModel

@property (nonatomic, strong) NSString  *thumbnail;
@property (nonatomic, assign) NSInteger  price;
@property (nonatomic, strong) NSString  *goodsId;
@property (nonatomic, strong) NSString  *name;
@property (nonatomic, strong) NSString  *id;
@property (nonatomic, strong) NSArray <YGgoodsParamesModel >  *parames;

@end

@interface YGgoodsParamesModel : JSONModel
@property (nonatomic, strong) NSString  *paramesName;
@property (nonatomic, strong) NSString  *paramesValueName;

@end

